home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2214 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  949 b 

  1. Path: stern.fokus.gmd.de!news
  2. From: Watson <sayegh@fokus.gmd.de>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borland C++ asm{labels}
  5. Date: Tue, 16 Jan 1996 16:12:12 +0100
  6. Organization: GMD FOKUS - Research Institute for Open Communication Systems
  7. Message-ID: <30FBC04C.1C85@fokus.gmd.de>
  8. References: <60114202823$71C7@lasernet.com> <4df7cr$io9@masala.cc.uh.edu>
  9. NNTP-Posting-Host: pollux.fokus.gmd.de
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b4 (X11; I; SunOS 5.4 sun4m)
  14.  
  15. Sensarn wrote: 
  16. > asm {
  17. >      mov cx,100
  18. > }
  19. > loopme:
  20. > asm {
  21. >      loopne
  22. > }
  23. > It does absolutely nothing (except decrement CX 100 times), but that
  24. > should show you how to use labels.
  25.  
  26. "C combines the possibilities of assembler with
  27.  the portability of assembler." ;-)
  28.  
  29. -- 
  30. *    Greetinx from Watson (sayegh@fokus.gmd.de)
  31.     http://www.fokus.gmd.de/ovma/employees/sayegh/entry.html
  32.     signal(SIGSEGV,SIG_IGN);
  33.